package com.xxx.video.channel.presenters;

import com.xxx.video.channel.beans.ChanelHomeListBean;
import com.xxx.video.commen.presenters.IBaseView;

import java.util.List;

public interface IChannelView extends IBaseView {
    /**
     * start all channel activity
     */
    void startAllChannelActivity();

    /**
     * start channel list activity
     */
    void startChannelListActivity(String fParentId);

    /**
     * start video details activity
     */
    void startVideoDetailsActivity(String id);

    /**
     * start search activity
     */
    void startSearchActivity();

    /**
     * init list
     */
    void initList();

    /**
     * init top
     */
    void initChannelFragmentTop();

    /**
     * init hot list
     *
     * @param hotList data
     */
    void initHotChannelList(List<ChanelHomeListBean.HotListBean> hotList);

    /**
     * init other channel list
     *
     * @param typeList data
     */
    void initOtherChannelList(List<ChanelHomeListBean.TypeListBean> typeList);

    void initHistoryChannelList();


    /**
     * set item click
     *
     * @param id       id
     * @param position position
     * @param type     type
     */
    void setItemClick(String id, int position, int type);

    /**
     * init data to view
     *
     * @param successOb data
     */
    void initData2View(ChanelHomeListBean successOb);
}
